package com.gfdd.tea.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gfdd.tea.mapper.AssessMapper;
import com.gfdd.tea.pojo.Assess;
import com.gfdd.tea.pojo.User;
import com.gfdd.tea.service.AssessService;
import com.gfdd.tea.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("assessService")
public class AssessServiceImpl extends ServiceImpl<AssessMapper, Assess> implements AssessService {
    @Autowired
    private  UserService userService;
    @Override
    public User queryAssessUserById(Long id) {
        User user = userService.getById(id);
        return user;
    }
}
